package autoorder.zsxmlv.mapper;

import autoorder.zsxmlv.po.Order;
import autoorder.zsxmlv.vo.OrderVo;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

public interface OrderMapper {

    List<Order> selectByPage(HashMap<Object, Object> map);

    int countBycondition(HashMap<Object, Object> map);

    BigDecimal countOrderPrice();

    Order selectByOrderNum(String orderNum);


    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
}